package com.homestay.beans;

import java.util.List;

/**
 * 房东表
 * @author hrh
 *
 */
public class LandlordBean {
	//房东ID
	private Integer l_id;
	//房东账号
	private String l_account;
	//房东密码
	private String l_pass;
	
	//一对一，房东表对房东信息
	private LandlordInfoBean landlordInfo;
	
	//一对多，房东对房源信息
	private List<HouseInfoBean> houseInfoList;
	
	private int flag;
	
	public Integer getL_id() {
		return l_id;
	}
	public void setL_id(Integer l_id) {
		this.l_id = l_id;
	}
	public String getL_account() {
		return l_account;
	}
	public void setL_account(String l_account) {
		this.l_account = l_account;
	}
	public String getL_pass() {
		return l_pass;
	}
	public void setL_pass(String l_pass) {
		this.l_pass = l_pass;
	}
	public int getFlag() {
		return flag;
	}
	public void setFlag(int flag) {
		this.flag = flag;
	}
	
	public LandlordInfoBean getLandlordInfo() {
		return landlordInfo;
	}
	public void setLandlordInfo(LandlordInfoBean landlordInfo) {
		this.landlordInfo = landlordInfo;
	}
	public List<HouseInfoBean> getHouseInfoList() {
		return houseInfoList;
	}
	public void setHouseInfoList(List<HouseInfoBean> houseInfoList) {
		this.houseInfoList = houseInfoList;
	}
	@Override
	public String toString() {
		return "LandlordBean [l_id=" + l_id + ", l_account=" + l_account
				+ ", l_pass=" + l_pass + ", landlordInfo=" + landlordInfo
				+ ", houseInfoList=" + houseInfoList + ", flag=" + flag + "]";
	}
	
	
}
